package com.ding.custommanagersys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ding.custommanagersys.bo.EmailBo;
import com.ding.custommanagersys.entity.Email;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ding
 * @since 2023-04-21
 */
public interface IEmailService extends IService<Email> {

    Integer sendEmail(EmailBo bo);

    Page<Email> getAllEmail(EmailBo bo);

    Email getOneEmail(String emailId);

    Integer deleteEmail(List<String> ids,String userId);
}

